import request from '../utils/request';
//获取主题
// const headers = {
//     "Content-Type": "application/json;charset=UTF-8"
// }
export function geTitle() {
    return request({
        url: '/bdMap/getBdzt',
        method: 'post',

    });
};
export function getBdzt(data) {
    return request({
        url: '/bdMap/getBdztInfo',
        method: 'post',
        data,
        // headers: {
        //     "Content-Type": "application/json"
        // }
    });
}
export function addTemplate(data) {
    return request({
        url: '/bdMap/importBdMap',
        method: 'post',
        data,
        headers: {
            "Content-Type": "multipart/form-data"
        }
    });
}
export function uploadTemplate() {
    return request({
        url: '/bdMap/generateExcel',
        method: 'post',
        responseType: 'blob',
        headers: {
            "Content-Type": "application/json",

        }
    });
}
export function getNum(data) {
    return request({
        url: '/bdMap/getBdztInfoGroup',
        method: 'post',
        data
    });
}